<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>学习排行榜 - 英语练习系统</title>
    <link rel="stylesheet" type="text/css" href="/css/ranking.css">
    <script src="/js/ranking.js"></script>
</head>
<body>
<nav class="navbar">
    <div class="logo">英语练习系统</div>
    <div class="nav-links">
        <a href="practise">返回练习</a>
        <a href="wrong_questions">我的错题</a>
        <a href="login">退出登录</a>
    </div>
</nav>

<div class="container">
    <div class="ranking-header">
        <h1>学习排行榜</h1>
        <p>看看你和其他同学的学习进度对比</p>
    </div>

    <div class="ranking-list" id="ranking-list">
        <div class="loader">加载中...</div>
    </div>

    <div class="user-stats">
        <div class="stat-card">
            <div id="total-users" class="stat-value">--</div>
            <div class="stat-label">总用户数</div>
        </div>
    </div>

    <div class="action-buttons">
        <button class="btn" id="refresh-btn">刷新数据</button>
    </div>
</div>

</body>
</html>